unit u_expEntra_Sai;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  Formulario_Padrao_Rel, RDprint, ExtCtrls, StdCtrls, CheckLst, ComCtrls,
  Buttons, TFlatButtonUnit;

type
  TFrmPad_Rel2 = class(TFrmPad_Rel)
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FrmPad_Rel2: TFrmPad_Rel2;

implementation

{$R *.DFM}
{select n.ent_codigo, bkp_numero, bkp_serie, notv_dataentrada,
notv_datafat, codf_codigo, notv_emitente, NOTV_BCALICMS,
NOTV_ALIQICMS, NOTV_ICMS, NOTV_OUTRASICMS, NOTV_ISENTAICMS,
NOTV_BCALIPI, NOTV_ALIQIPI, NOTV_IPI, NOTV_OUTRASIPI,
NOTV_ISENTAIPI, NOTV_VALORCONTABIL
from NotaVenda N, Backup_Venda B
where (n.Nota_Numero = b.Nota_Numero) 
and (n.Nota_Serie = b.Nota_Serie)
and (n.Ent_Codigo = b.ent_Codigo)
and Notv_DataFat >= '01/01/2005' and Notv_DataFat <= '01/02/2005'
order by Codf_Codigo, bkp_numero}
end.
